﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Backend.JYD.Model.Auth;

namespace Backend.JYD.IDAL.Auth
{
    public interface IAuthorityInfo
    {
        Int64 AddAuthorityInfo(AuthorityInfo info);
        
        Boolean UpdateAuthorityInfo(AuthorityInfo info);

        Boolean DeleteAuthorityInfo(Int64 authId);

        AuthorityInfo GetAuthorityInfoById(Int64 authId);

        IList<AuthorityInfo> GetAuthorityInfoByIds(IList<Int64> authIds);

        IList<AuthorityInfo> GetAllAuthorityInfo();
    }
}
